#pragma warning(disable : 4996)
#include<stdio.h>
int main()
{
	FILE* pf = fopen("tex.txt", "r");
	if (NULL == pf)
	{
		perror("fopen"); 
		return 1;
	}
	
	fclose(pf);
	pf = NULL;
	return 0;
}